package com.misty.proxy_pattern.client1_static;

import com.imist.proxy_pattern.client1_static.static_proxy.OrderServiceProxy;

public class client {
    public static void main(String[] args) {
        Order order = new Order();
        order.setUserId(1);

        OrderServiceImpl service = new OrderServiceImpl();

        OrderServiceProxy proxy = new OrderServiceProxy(service);

        proxy.saveOrder(order);
    }
}
